<gm:page title="My App" authenticate="false">

  
<gm:page title="date" css="/css/g.css" class="googleTheme" authenticate="true">
  <table width="50%">
    <tr>
      <td width="50%">
        <gm:list id="myList" data="${user}/foo" template="myTemplate"/>
      </td>
      <td width="50%">
        <gm:calendar data="${myList}" ref="gd:when/@startTime" />
      </td>
    </tr>
  </table>

  <gm:template id="myTemplate">
    <table class="gm-table">
      <thead>
        <tr>
          <th width="200">Date</th>
          <th width="30"></th>
        </tr></thead>
        <tr repeat="true">
          <td><gm:date ref="gd:when/@startTime"/></td>
          <td><gm:editButtons/></td>
        </tr>
      <tfoot>
        <tr>
          <td colspan="4" align="right"><gm:create label="New Date"/></td>
        </tr>
      </tfoot>
    </table>
  </gm:template>

</gm:page>
</gm:page>